#pragma once
#include "graphics/OpenGLWnd.h"
#include "sgcomposite.h"

class CSgMaterial :
	public CSgComposite
{
public:
	CSgMaterial(void);
	~CSgMaterial(void);

	void Render(void);
	void SetSpecularColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
	void SetDiffuseColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
	void SetShininess(GLfloat shine){m_shininess[0] = shine;}

private:
	GLfloat m_specularColor[4];
	GLfloat m_diffuseColor[4];
	GLfloat m_shininess[1];
};
